<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="s" uri="/struts-tags" %>

<html>
<head>
    <title>Tags Struts</title>
    <s:head/>

</head>
<body>
    <h2>Tags Struts</h2>
    <s:debug/>

    <s:if test="1=1">if</s:if>
    <s:elseif test="">elseif</s:elseif>
    <s:else>else</s:else>


    <s:iterator>
        <s:property default="default">default</s:property>
        <s:property default="property1">property1</s:property>
        <s:property default="property2">property2</s:property>
    </s:iterator>

    <s:action name="tags/struts">

    </s:action>

    <s:form id="tags-struts" action="tags/struts" method="post" enctype="multipart/form-data">
        <s:text name="tags.text">text</s:text>
        <s:textarea name="textarea" value="textarea">textarea</s:textarea>
        <s:textfield name="textfield" value="textfield">textfield</s:textfield>

        <%--<s:select name="username" label="Username"--%>
                  <%--list="{'Mike','John','Smith'}"/>--%>

        <%--<s:select label="Company Office" name="mySelection"--%>
                  <%--value="%{'America'}"--%>
                  <%--list="%{#{'America':'America'}}">--%>
            <%--<s:optgroup label="Asia"--%>
                        <%--list="%{#{'India':'India','China':'China'}}"/>--%>
            <%--<s:optgroup label="Europe"--%>
                        <%--list="%{#{'UK':'UK','Sweden':'Sweden','Italy':'Italy'}}"/>--%>
        <%--</s:select>--%>

        <%--<s:combobox label="My Sign" name="mySign"--%>
                    <%--list="#{'aries':'aries','capricorn':'capricorn'}"--%>
                    <%--headerKey="-1"--%>
                    <%--headerValue="--- Please Select ---" emptyOption="true"--%>
                    <%--value="capricorn"/>--%>
        <%--<s:doubleselect label="Occupation" name="occupation"--%>
                        <%--list="{'Technical','Other'}" doubleName="occupations2"--%>
                        <%--doubleList="top == 'Technical' ?--%>
                 <%--{'I.T', 'Hardware'} : {'Accounting', 'H.R'}"/>--%>

    </s:form>

</body>
</html>
